<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <title>CSS轮番图片例子</title>
    <meta charset="UTF-8">

    <link rel="stylesheet" href="css/style.css">

    <script src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
    <script src="js/script.js"></script>
</head>
<body>
<div class="wrapper">
    <div class="photo-grid">
        <div class="carousel">
            <div class="item">
                <img src="images/1.jpg">
                <h4><a href="#">标题1</a></h4>
            </div>
            <div class="item">
                <img src="images/2.jpg">
                <h4><a href="#">标题2</a></h4>
            </div>
            <div class="item">
                <img src="images/3.jpg">
                <h4><a href="#">标题3</a></h4>
            </div>
            <div class="item">
                <img src="images/4.jpg">
                <h4><a href="#">标题4</a></h4>
            </div>
            <div class="item">
                <img src="images/5.jpg">
                <h4><a href="#">标题5</a></h4>
            </div>
        </div>
    </div>
</div>
</body>
</html>